package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "分类表单对象")
@Data
public class CategoryForm {
    @Schema(description="分类ID")
    private Long id;

    @Schema(description="分类内容")
    @NotBlank(message = "分类内容不能为空")
    private String content;

    @Schema(description="排序")
    private Integer sort;
}
